<template>
<div>
	<div class="bigtitle">
		<div class="bigtitle-title">友情链接</div>
	</div>
	<p lh2 mgt3>
		<a v-for="(item, index) in items" :key="index" linkable :href="item.link" target="_blank" mgr2>{{item.description}}</a>
	</p>
</div>
</template>

<script lang="ts">
import { Component, Vue,Inject, Prop,Watch } from 'vue-property-decorator';
import AbpBase from '../../lib/abpbase'

@Component
export default class FriendlyLink extends AbpBase{
	get items() {
		return this.$store.state.websiteInfo.friendlyLinks;
	}
	async getContent(){
		await this.$store.dispatch('websiteInfo/getFriendlyLink');
	}
	async created(){
		await this.getContent();
	}
}
</script>
